home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
test
/
suplib
/
addhead.c
next >
Wrap
C/C++ Source or Header
|
1992-10-25
|
243b
|
13 lines
#include <suplib/lists.h>
void
AddTail(struct List *list, struct Node *node)
{
node->ln_Succ = (struct Node *)&list->lh_Tail;
node->ln_Pred = list->lh_TailPred;
list->lh_TailPred->ln_Succ = node;
list->lh_TailPred = node;
}